home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
bbsutil
/
gapdemo1.zip
/
ARCREAD.BAT
next >
Wrap
DOS Batch File
|
1993-04-26
|
543b
|
26 lines
@echo off
REM Called by GAP to read a file from within an archive
REM %1 = Where to put Extracted File (Work Directory)
REM %2 = Full Path/Name of the Archive File to process
REM %3 = What kind of Archive it is: ARC,ZIP,ICE,LZH,PAK,etc
REM %4 = Name of the file to extract from the Archive
if %3 == ZIP goto dozip
if %3 == EXE goto dozip
if %3 == ARC goto doarc
if %3 == LZH goto dolzh
goto end
:dozip
pkunzip /o %2 %1\ %4
goto end
:doarc
arc eo %2 %1\ %4
goto end
:dolzh
lha e %2 %1\ %4
:end